import ReactDOM from 'react-dom'

import './index.css'
const isActive = true
const element = (
  <span className={`button ${isActive ? 'active' : ''}`}>按钮</span>
)
ReactDOM.render(element, document.getElementById('root'))